package com.dbpms.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("userinfo")
public class User {
    @TableId("user_id")
    private int userId;

    private String userAccount;

    private String userPwd;

    private int userPower;

    private String userDetail;

    private int userStudentId;

    public int getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userAccount='" + userAccount + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userPower=" + userPower +
                ", userDetail='" + userDetail + '\'' +
                ", userStudentId=" + userStudentId +
                '}';
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public int getUserPower() {
        return userPower;
    }

    public void setUserPower(int userPower) {
        this.userPower = userPower;
    }

    public String getUserDetail() {
        return userDetail;
    }

    public void setUserDetail(String userDetail) {
        this.userDetail = userDetail;
    }

    public int getUserStudentId() {
        return userStudentId;
    }

    public void setUserStudentId(int userStudentId) {
        this.userStudentId = userStudentId;
    }
}
